package cn.fsd.query.delivery;

import cn.fsd.query.BaseQuery;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.util.Date;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 出入库单查询
 */
@Data
public class StockInOutQuery extends BaseQuery {

  String warehouse_id;

  String query;

  @DateTimeFormat(pattern = "yyyy-MM-dd")
  @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT-8")
  Date startDate;

  @DateTimeFormat(pattern = "yyyy-MM-dd")
  @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT-8")
  Date endDate;
}
